// component/songList/songList.js
Component({
    /**
     * 组件的属性列表
     */
    properties: {
        songList:{
            type:"Array",
            value:[],
        },
        songIds:{
            type:"Array",
            value:[],
        },
        fun1:{
            type:"Function",
            value:()=>{}
        }
    },

    /**
     * 组件的初始数据
     */
    data: {

    },

    /**
     * 组件的方法列表
     */
    methods: {
        goControler(e){
            wx.setStorageSync('songList', this.data.songList)
            wx.navigateTo({
                url: '/pages/controler/controler?index='+e.currentTarget.dataset.index+'&ids='+JSON.stringify(this.data.songIds),
            })
            // this.triggerEvent('myevent', {a:1}, {b:2})
        }
    }
})
